﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Vinetlife.Master" AutoEventWireup="true" CodeBehind="ChangeCustomerInfo.aspx.cs" Inherits="VINETLIFE.Customers.ChangeCustomerInfo" %>

<%@ Register Src="/Module/ucVnLeftCustomerMenu.ascx" TagName="ucVnLeftCustomerMenu" TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="main-container-inner">
        <div class="main-container-inner">
            <div id="breadcrumb">
                <ul class="crumbs">
                    <li class="first"><a href="/" style="z-index: 9;" title="Trang chủ"><span></span>Trang chủ</a></li>
                    <li><a href="/trang-ca-nhan/" style="z-index: 8;">Trang cá nhân</a></li>
                    <li><a href="/thay-doi-thong-tin/" style="z-index: 7;">Thay đổi thông tin cá nhân</a></li>
                </ul>
            </div>
            <div class="t-content-wrap">
                <div class="main-container-inner-left">
                    <uc1:ucVnLeftCustomerMenu ID="ucVnLeftCustomerMenu1" runat="server" />
                </div>
                <div class="main-container-inner-right">
                    <div class="div-comment">
                        <div class="comment-box-out">
                            <div class="comment-box-register">
                                <h4 class="h4style1">Thay đổi thông tin tài khoản</h4>
                                <div style="float:left;width:100%;margin:5px 0;">
                                    <table class="table-comment">
                                        <tr>
                                            <td class="table-cm-l">Mã khách hàng<span style="color: red; display: inline-block; margin: 0 0 0 5px;">*</span></td>
                                            <td class="table-cm-r">
                                                <asp:TextBox ID="txtCustomerCode" runat="server" Width="200px" CssClass="comment-name" Enabled="false" ReadOnly="true"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="table-cm-l">CMTND<span style="color: red; display: inline-block; margin: 0 0 0 5px;">*</span></td>
                                            <td class="table-cm-r">
                                                <asp:TextBox ID="txtCmnd" runat="server" Width="200px" CssClass="comment-name" Enabled="false" ReadOnly="true"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="table-cm-l">Tên đăng nhập<span style="color: red; display: inline-block; margin: 0 0 0 5px;">*</span></td>
                                            <td class="table-cm-r">
                                                <asp:TextBox ID="txtUserName" runat="server" CssClass="comment-name" placeholder="Tên đăng nhập" Enabled="false" ReadOnly="true"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="table-cm-l">Họ tên<span style="color: red; display: inline-block; margin: 0 0 0 5px;">*</span></td>
                                            <td class="table-cm-r">
                                                <asp:TextBox runat="server" ID="txtName" CssClass="comment-name" Style="margin-right: 3px"
                                                    placeholder="Họ tên"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ErrorMessage="*"
                                                    ForeColor="Red" ControlToValidate="txtName" ValidationGroup="register"></asp:RequiredFieldValidator>

                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="table-cm-l">Địa chỉ</td>
                                            <td class="table-cm-r">
                                                <asp:TextBox ID="txtAdress" runat="server" placeholder="Địa chỉ" CssClass="comment-name"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="table-cm-l">Email<span style="color: red; display: inline-block; margin: 0 0 0 5px;">*</span></td>
                                            <td class="table-cm-r">

                                                <asp:TextBox runat="server" ID="txtEmail" CssClass="comment-email" placeholder="Email"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*" ValidationGroup="register"
                                                    ControlToValidate="txtEmail"></asp:RequiredFieldValidator>
                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator2"
                                                    runat="server" ErrorMessage="Sai định dạng email" ForeColor="Red" ControlToValidate="txtEmail" ValidationGroup="register"
                                                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="table-cm-l">Điện thoại
                                            </td>
                                            <td class="table-cm-r">
                                                <asp:TextBox ID="txtPhone" runat="server" CssClass="comment-email" placeholder="Điện thoại"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="*" ValidationGroup="register"
                                                    ControlToValidate="txtPhone"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="table-cm-l">Giới tính</td>
                                            <td class="table-cm-r">
                                                <asp:RadioButton ID="rdoNam" Checked="true" Text="Nam" runat="server" GroupName="Source" />
                                                <asp:RadioButton ID="rdoNu" Text="Nữ" runat="server" GroupName="Source" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="table-cm-l">Ngày sinh
                                            </td>
                                            <td class="table-cm-r">
                                                <asp:TextBox ID="txtBirtday" runat="server" CssClass="comment-email" Width="150px" Format="dd/MM/yyyy" placeholder="ngày/tháng/năm"></asp:TextBox>
                                                <cc1:CalendarExtender runat="server" ID="X" TargetControlID="txtBirtday" Format="dd/MM/yyyy"></cc1:CalendarExtender>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td></td>
                                            <td>
                                                <asp:Button ID="btnSave" CssClass="btnLogin" runat="server" Text="Lưu thay đổi" OnClick="btnSave_Click" ValidationGroup="register" />
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

</asp:Content>
